package com.itcast.staticdemo.Demo09;

/*
Coder继承Employee类
*/
public class Coder extends Employee {
    public Coder() {
    }

    public Coder(String name, String id, int salary) {
        super(name, id, salary);
    }

    public void work() {
        System.out.println("名字为：" + getName() + "，工号为：" + getId() + "的程序员在努力敲代码！工资为：" + getSalary());
    }
}
